from django.urls import path
from django.urls import re_path as url
from warehouse import views

app_name='warehouse'#需要添加app名称，不然include无法找到该model,在html文件里需要加上app名

urlpatterns = [
    # 主页，用来显示类别等其他数据
    path('', views.index ,name='warehouse_index'),
    path('/stock_inv',views.get_inv,name='get_inv'),
    path('/change_stock',views.change_stock,name='change_stock'),
    path('/predict_num',views.predict_num,name='predict_num'),
    path('/in_out_return',views.goods_in_out_return,name='in_out_return'),
    path('/req_plan',views.req_plan,name='req_plan'),
    path('/update_stock',views.update_stock,name='update_stock'),
    path('/print_bar',views.print_bar,name='print_bar')
]

